package com.example.icongyou.bean;

import com.google.gson.annotations.SerializedName;
import java.util.List;

public class Team {
    @SerializedName("id")
    private long id; // 团队ID

    @SerializedName("teamName")
    private String teamName; // 团队名称

    @SerializedName("courseId")
    private String courseId; // 关联课程ID

    @SerializedName("teamScore")
    private double teamScore; // 团队总分

    @SerializedName("teamRank")
    private int teamRank; // 团队排名

    @SerializedName("members")
    private List<TeamMember> members; // 团队成员列表

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public double getTeamScore() {
        return teamScore;
    }

    public void setTeamScore(double teamScore) {
        this.teamScore = teamScore;
    }

    public int getTeamRank() {
        return teamRank;
    }

    public void setTeamRank(int teamRank) {
        this.teamRank = teamRank;
    }

    public List<TeamMember> getMembers() {
        return members;
    }

    public void setMembers(List<TeamMember> members) {
        this.members = members;
    }
}